package com.example.demo.dao;

import com.example.demo.bean.Admin;
import org.apache.ibatis.annotations.Param;

public interface AdminMapper {

	public java.util.List<Admin> selectAdminByPage (@Param("params")java.util.Map<String, Object> params);

	public int selectAdminCount (@Param("params")java.util.Map<String, Object> params);

	public Admin selectAdminOne (@Param("params")java.util.Map<String, Object> params);

	public int updateAdmin (@Param("params")java.util.Map<String, Object> params);

	public int deleteAdmin (@Param("idList")java.util.List<String> idList);

	public int insertAdmin (@Param("params")java.util.Map<String, Object> params);
	

   	// 查询用户信息、角色、权限
	Admin findById(String id);

}